<template>
  <div>
    账号<input type="text" placeholder="账号" /> 密码<input
      type="password"
      placeholder="密码"
    />
    <br>
    <button @click="login_button">登录</button>
  </div>
</template>

<script>

export default {
  name: "Login",
  data() {
    return {
      account: "",
      password: "",
    };
  },
  methods: {
    login_button() {
        console.log('1111')
      this.axios
        .post("login/")
        .then((resp) => {
          console.log(resp.data);
        })
        .catch((error) => {
          console.log(error);
        });
    },
  },
};
</script>

<style>
</style>